<%@page import="com.neiquan.backstage.pub.bsc.dao.po.Notice"%>
<%@page import="com.neiquan.backstage.notice.NoticeService"%>
<%@page import="com.neiquan.backstage.common.util.Configs"%>
<%@page import="com.neiquan.backstage.pub.bsc.dao.po.Event"%>
<%@page import="java.util.List"%>
<%@page import="com.neiquan.backstage.event.EventService"%>
<%@page import="com.neiquan.backstage.common.CommonService"%>
<%@page import="com.neiquan.backstage.common.util.SpringContextUtils"%>
<%@page import="org.springframework.context.ApplicationContext"%>
<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<%
ApplicationContext appCtx = SpringContextUtils.getApplicationContext();
NoticeService noticeService = appCtx.getBean(NoticeService.class);
String member = request.getParameter("id");
int id=Integer.parseInt(member);
Notice notice = noticeService.queryById(id);
pageContext.setAttribute("notice", notice);
%>
<!DOCTYPE html>
<html lang="zh-CN">
<head>
	<meta http-equiv="content-type" content="text/html; charset=UTF-8">
	<meta charset="UTF-8">
	<title>公告详情</title>
	<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=1.0" />
	<meta name="apple-mobile-web-app-capable" content="yes" />
	<meta http-equiv="X-UA-Compatible" content="IE=edge" />
	<link rel="stylesheet" href="css/base.css" />
	<link rel="stylesheet" href="css/main.css" />
</head>
<body bgcolor="#f0f0f0">
			<section class="pd">
			<h3><%=notice.getName() %></h3>
			<time class="noticedetail_time"><%=notice.getDtCreat() %></time>
			<img class="active-img" src="<%=notice.getImgUrl() %>" />
			<article class="mt10">
			<%=notice.getDetail() %>
			</article>
		</section>
</body>
<script src="js/responsive.js"></script>
</html>
